package lab02.test36;

import java.util.Map;
import java.util.Scanner;
import java.util.concurrent.ScheduledThreadPoolExecutor;

/**
 * Created by MECHREV on 2017/11/9.
 */
public abstract class Stduent {
    String name;
    String type;
    double[] socres=new double[3];
    String grade;
    //
    double calAverage(){
        return (socres[0]+socres[1]+socres[2])/3;
    }
    //抽象方法：计算等级
    abstract String calGrade();

}
